package com.wood.life.service;

import com.night.common.entity.life.OrderDetails;
import com.wood.life.mapper.OrderDetailsMapper;

import java.util.List;

/**
 * author: dz
 * 2022-10-20-15:53
 */

public interface OrderDetailsService {

    void insert(OrderDetails orderDetails);// 前面public abstract 默认有

    void updateById(OrderDetails orderDetails);

    List<OrderDetails> getByOrderId(int orderId);
    List<OrderDetails> getByGoodsId(int goodsId);
}
